package {packageName}.{lowCaseClassName}.entity;

import cn.mntool.parent.frame.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;

/**
 * describe: {tableComment}实体
 *
 * @author {author}
 * @date {time}
 */
@Data
@Entity(name = "{tableName}")
@EqualsAndHashCode(callSuper = false)
public class {upCaseClassName}Entity extends BaseEntity {
    {field}
    /**
     * {fieldComment}
     */
    private {fieldJavaType} {lowCaseFieldName};
    {/field}
    {fieldPk}
    /**
     * {fieldComment}
     */
    @ID
    private {fieldJavaType} {lowCaseFieldName};
    {/fieldPk}
}
